package com.ddf.publics.service;

import com.ddf.publics.entity.User;
import org.springframework.security.core.userdetails.UserDetailsService;

public interface LoginService extends UserDetailsService {
    User queryByPhone(String phone);
    User queryByMail(String mail);
}
